package com.wdzl.entity;

public class Employee {
    private int id;
    private String name;
    private String sex;
    private int did;
    private double salary;
    private String email;
    private String pNumber;

    private String deptName;

    public Employee() {

    }

    public Employee(int id, String name, String sex, int did, double salary) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.did = did;
        this.salary = salary;
    }

    public Employee(int id, String name, String sex, int did, double salary, String email, String pNumber) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.did = did;
        this.salary = salary;
        this.email = email;
        this.pNumber = pNumber;
    }

    public Employee(String name, String sex, int did, double salary, String email, String pNumber) {
        this.name = name;
        this.sex = sex;
        this.did = did;
        this.salary = salary;
        this.email = email;
        this.pNumber = pNumber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getpNumber() {
        return pNumber;
    }

    public void setpNumber(String pNumber) {
        this.pNumber = pNumber;
    }
}
